package com.swak.fx.support;

import javafx.scene.input.Clipboard;
import javafx.scene.input.ClipboardContent;

/**
 * 剪切板操作
 * 
 * @author DELL
 */
public class Clipboards {

	public static Clipboard getClipboard() {
		return Clipboard.getSystemClipboard();
	}

	public static void addText(String text) {
		ClipboardContent clipboardContent = new ClipboardContent();
		clipboardContent.putString(text);
		Clipboard.getSystemClipboard().setContent(clipboardContent);
	}

	public static void parse() {

	}
}
